package com.example.drools.spring.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;

/**
 * @author ddsyw
 * @version 1.0
 * @date 2021/12/29 10:04 上午
 */
@Getter
@Setter
public class DroolModel implements Serializable {

  private static final long serialVersionUID = 8551436239449501180L;

  /**
   * verify unique path
   */
  @NonNull
  private String pathName;

  /**
   * unique name
   */
  @NonNull
  private String packageName;

  /**
   * # depend on class
   * #
   */
  @NonNull
  private List<String> importClass;

  /**
   * * one to many
   * * one to one
   * @see com.example.drools.spring.entity.DroolRule
   */
  @NonNull
  private List<DroolRule> droolRules;


}
